package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 分享设置对象 sys_share
 *
 * @author ruoyi
 * @date 2020-07-15
 */
public class SysShare extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 分享标题
     */
    @Excel(name = "分享标题")
    private String sharetitle;

    /**
     * 分享小图
     */
    @Excel(name = "分享小图")
    private String imagepath;

    /**
     * 分享描述
     */
    @Excel(name = "分享描述")
    private String sharedescription;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setSharetitle(String sharetitle) {
        this.sharetitle = sharetitle;
    }

    public String getSharetitle() {
        return sharetitle;
    }

    public void setImagepath(String imagepath) {
        this.imagepath = imagepath;
    }

    public String getImagepath() {
        return imagepath;
    }

    public void setSharedescription(String sharedescription) {
        this.sharedescription = sharedescription;
    }

    public String getSharedescription() {
        return sharedescription;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("sharetitle", getSharetitle())
                .append("imagepath", getImagepath())
                .append("sharedescription", getSharedescription())
                .toString();
    }
}
